﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title> Test page </title>
    <script language="javascript" type="text/javascript">
// <![CDATA[

        function btnShow_onclick() {
            alert(txtUserMessage.value);
        }

// ]]>
    </script>
</head>
<body bgcolor="#6699ff">

<!— Приглашение пользовательского ввода --> 
<h1 align="center">Simple HTML Page</h1> 
<p align="center"> <br/> 
    <i>Please enter a message</i>. 
</p> 
<form id="defaultPage" action="TestPage.html" method = "post">    
    <input id="btnPostBack" type="submit" value="Post to Server! "/>  
    <p align="center"> 
        Your Message: 
        <input id="txtUserMessage" type="text"/>
    </p> 
    <p align="center"> 
        <input id="btnShow" type="button" value="Show" onclick="return btnShow_onclick()" /> 
        <input id="btnReset" type="reset" value="Reset"/> 
    </p> 

</form> 

</body>
</html>
